package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "recruitment_post")
public class RecruitmentPost {
    /**
     * 发布招聘信息id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 公司id
     */
    @TableField(value = "company_id")
    private Integer companyId;

    @TableField(value = "company_list",exist = false)
    private List<Company> companyList;
    @TableField(value = "company",exist = false)
    private Company company;
    /**
     * 发布人id
     */
    @TableField(value = "publisher_id")
    private Integer publisherId;

    @TableField(value = "publisher_list",exist = false)
    private List<Publisher> publisherList;
    @TableField(value = "publisher",exist = false)
    private Publisher publisher;
    /**
     * 工作地点id
     */
    @TableField(value = "address_id")
    private Integer addressId;
//关联区
    @TableField(value = "address",exist = false)
    private Address address;
//    关联市
    @TableField(value = "city",exist = false)
    private Address city;
//    关联省
    @TableField(value = "province",exist = false)
    private Address province;

//职位福利标签数组
    @TableField(value = "jobWelfareLabelBasicsList",exist = false)
    private List<JobWelfareLabelBasics> jobWelfareLabelBasicsList;

//    职位福利标签的title数组
    @TableField(value = "jobWelfareLabelBasicsTitles",exist = false)
    private String[] jobWelfareLabelBasicsTitles;

    @TableField(value = "address_list",exist = false)
    private List<Address> addressList;
    /**
     * 学历id
     */
    @TableField(value = "recruitment_education_id")
    private Integer recruitmentEducationId;

    @TableField(value = "recruitmentEducation_list",exist = false)
    private List<RecruitmentEducation> recruitmentEducationList;
    @TableField(value = "recruitmentEducation",exist = false)
    private RecruitmentEducation recruitmentEducation;
    /**
     * 详细地址
     */
    @TableField(value = "address_content")
    private String addressContent;
    /**
     * 职位id
     */
    @TableField(value = "position_id")
    private Integer positionId;

    @TableField(value = "position_list",exist = false)
    private List<Position> positionList;
    @TableField(value = "position",exist = false)
    private Position position;

    @TableField(value = "positionType",exist = false)
    private PositionType positionType;

    @TableField(value = "industry",exist = false)
    private Industry industry;
    /**
     * 期望薪资id
     */
    @TableField(value = "expected_salary_id")
    private Integer expectedSalaryId;

    /**
     * 工作经验要求id
     */
    @TableField(value = "work_experience_id")
    private Integer workExperienceId;

    @TableField(value = "workExperience_list",exist = false)
    private List<WorkExperience> workExperienceList;
    @TableField(value = "workExperience",exist = false)
    private WorkExperience workExperience;
    /**
     * 工作性质id
     */
    @TableField(value = "nature_work_id")
    private Integer natureWorkId;

    @TableField(value = "natureWork_list",exist = false)
    private List<NatureWork> natureWorkList;
    @TableField(value = "natureWork",exist = false)
    private NatureWork natureWork;

    /**
     * 要求性别
     */
    @TableField(value = "ask_sex")
    private String askSex;

    @TableField(value = "expected_salary_list",exist = false)
    private List<ExpectedSalary> expectedSalaryList;
    @TableField(value = "expectedSalary",exist = false)
    private ExpectedSalary expectedSalary;
    /**
     * 岗位描述
     */
    @TableField(value = "job_description")
    private String jobDescription;

    /**
     * 招聘人数
     */
    @TableField(value = "recruiting_numbers")
    private Integer recruitingNumbers;

    /**
     * 联系方式
     */
    @TableField(value = "recruitment_post_tel")
    private String recruitmentPostTel;

    /**
     * 推荐关键字
     */
    @TableField(value = "recommended_keywords")
    private String recommendedKeywords;

    /**
     * 发布时间
     */
    @TableField(value = "release_time")
    private Date releaseTime;

    /**
     * 下架时间（停止发布）
     */
    @TableField(value = "off_shelf_time")
    private Date offShelfTime;
    /**
     * 下架（停止发布）
     */
    @TableField(value = "off_shelf")
    private Boolean offShelf;

    /**
     * 刷新时间
     */
    @TableField(value = "refresh_time")
    private Date refreshTime;

    /**
     * 浏览数
     */
    @TableField(value = "number_views")
    private Integer numberViews;

    /**
     * 收藏数
     */
    @TableField(value = "collection_number")
    private Integer collectionNumber;

    /**
     * 投递数
     */
    @TableField(value = "deliveries_number")
    private Integer deliveriesNumber;

    /**
     * 被举报数
     */
    @TableField(value = "reports_number")
    private Integer reportsNumber;

    /**
     * 草稿
     */
    @TableField(value = "draft")
    private Boolean draft;
    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_PUBLISHER_ID = "publisher_id";

    public static final String COL_ADDRESS_ID = "address_id";

    public static final String COL_RECRUITMENT_EDUCATION_ID = "recruitment_education_id";

    public static final String COL_POSITION_ID = "position_id";

    public static final String COL_SALARY_ID = "salary_id";

    public static final String COL_WORK_EXPERIENCE_ID = "work_experience_id";

    public static final String COL_NATURE_WORK_ID = "nature_work_id";

    public static final String COL_ASK_SEX = "ask_sex";

    public static final String COL_JOB_DESCRIPTION = "job_description";

    public static final String COL_RECRUITING_NUMBERS = "recruiting_numbers";

    public static final String COL_RECRUITMENT_POST_TEL = "recruitment_post_tel";

    public static final String COL_RECOMMENDED_KEYWORDS = "recommended_keywords";

    public static final String COL_RELEASE_TIME = "release_time";

    public static final String COL_OFF_SHELF_TIME = "off_shelf_time";

    public static final String COL_REFRESH_TIME = "refresh_time";

    public static final String COL_NUMBER_VIEWS = "number_views";

    public static final String COL_COLLECTION_NUMBER = "collection_number";

    public static final String COL_DELIVERIES_NUMBER = "deliveries_number";

    public static final String COL_REPORTS_NUMBER = "reports_number";

    public static final String COL_DRAFT = "draft";

    public static final String COL_ENABLE = "enable";
}